//
//  PayEndData.h
//  Courses
//
//  Created by YiXuePxh on 15/4/22.
//  Copyright (c) 2015年 boyibang. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Courses-Prefix.pch"
@interface PayEndData : NSObject

pStr* sourceId;
pStr* orderId;
pStr* orderNo;
pStr* orderTime;
pStr* payTime;
pStr* orderStatus;
pStr* courseName;
pStr* classId;
pStr* className;
pStr* classOpenDate;
pStr* realAmount;
pStr* discount;
pStr* orderAmount;
pStr* mobile;
pStr* salesCode;
pStr* invoiceType;
pStr* invoiceTitle;
pStr* invoiceAddress;
pNS NSArray* coupons;

-(id)initWithJsonDict:(NSDictionary* )jsonDict;
+(PayEndData* )getPayDataBySourcId:(NSString* ) sourcId
                          DeciceNo:(NSString* ) deciceNo
                            UserId:(NSString* ) userId
                           OrderId:(NSString* ) orderId
                         PaymentNo:(NSString* ) paymentNo
                          TradeRtn:(NSString* ) tradeRtn
                           TradeId:(NSString* ) tradeId
                       TradeAmount:(NSString* ) tradeAmount
                         TradeTime:(NSString* ) tradeTiem;
@end
